@extends('layouts.console_header')

@section('title', '收款账号管理')

@section('resources')
    @parent
<style>
    nav{height: 50px;line-height: 50px;}
    nav a,nav span{margin-left: 20px;}
    nav input{margin-left: 20px;height: 28px;border: 1px solid #000;margin-top: 10px;}
</style>
@endsection

@section('content')
<!--  html内容  -->
<section class="user_list">
	<div style="border-bottom: 2px solid #9955c6;overflow: hidden;">
		<p class="fz_14 account_title fl" style="border: none;">
		<span style="color: #7f7f7f;"><a href="/console/index">首页</a>>财务中心></span>
		<span class="co_violet">收款账号管理</span></p>
		<a href="#" onclick=""><p class="fr tc back_btn">导出</p></a>
	</div>
    <table id="example" class="display" cellspacing="0" width="100%">
        <thead>
            <tr>
                <th>序号</th>
                <th>编码</th>
                <th>名称</th>
                <th>所在城市</th>
                <th>类型</th>
                <th>持卡人</th>
                <th>银行卡号</th>
                <th>银行名称</th>
                <th style="width: 30px;">开户行所在地</th>
                <th style="width: 170px;">操作</th>
            </tr>
        </thead>
        <tfoot>
            <tr>
                <th>序号</th>
                <th>编码</th>
                <th>名称</th>
                <th>所在城市</th>
                <th>类型</th>
                <th>持卡人</th>
                <th>银行卡号</th>
                <th>银行名称</th>
                <th style="width: 30px;">开户行所在地</th>
                <th style="width: 170px;">操作</th>
            </tr>
        </tfoot>
        <tbody>
        @foreach($lists as $list)
            <tr>
                <td>{{$list['shopid']}}</td>
                <td>{{$list['code']}}</td>
                <td>{{$list['name']}}</td>
                <td>{{$list['cityname']}}</td>
                <td>市代</td>
                <td>{{$list['cardholder']}}</td>
                <td>{{$list['bankcard']}}</td>
                <td>{{$list['bankname']}}</td>
                <td>{{$list['bankprovince']}}{{$list['bankcity']}}</td>
                {{--<td>{{$list['opencardbank']}}</td>--}}
                <td>
                    <a class="revise co_red" href="/console/finance/receivable/check?cityid={{$cityid}}&shopid={{$list['shopid']}}">修改</a>
                    <a class="revise co_violet" href="/console/shop/get?shopid={{$list['shopid']}}&cityid={{$cityid}}">查看商家详情</a>
                </td>
            </tr>
        @endforeach
        </tbody>
    </table>
</section>
@endsection

@section('scriptResources')
    @parent
    <script>
        
    </script>
@endsection